package com.anyou.mall.store.mapper;

import java.util.List;
import com.anyou.mall.store.entity.StoShopStore;

/**
 * 商家店铺Mapper接口
 *
 * @author ruoyi
 * @date 2023-09-12
 */
public interface StoShopStoreMapper
{
    /**
     * 查询商家店铺
     *
     * @param shopStoreId 商家店铺主键
     * @return 商家店铺
     */
    public StoShopStore selectStoShopStoreByShopStoreId(Long shopStoreId);

    /**
     * 查询商家店铺列表
     *
     * @param stoShopStore 商家店铺
     * @return 商家店铺集合
     */
    public List<StoShopStore> selectStoShopStoreList(StoShopStore stoShopStore);

    /**
     * 新增商家店铺
     *
     * @param stoShopStore 商家店铺
     * @return 结果
     */
    public int insertStoShopStore(StoShopStore stoShopStore);

    /**
     * 修改商家店铺
     *
     * @param stoShopStore 商家店铺
     * @return 结果
     */
    public int updateStoShopStore(StoShopStore stoShopStore);

    /**
     * 删除商家店铺
     *
     * @param shopStoreId 商家店铺主键
     * @return 结果
     */
    public int deleteStoShopStoreByShopStoreId(Long shopStoreId);

    /**
     * 批量删除商家店铺
     *
     * @param shopStoreIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStoShopStoreByShopStoreIds(Long[] shopStoreIds);
}
